function Person(){}
Person.prototype = {
    name:'tom',
    age:18,
    gender:'male',
    sayName(){
        console.log(this.name)
    },
    //constructor:Person
}
var keys = Object.keys(Person.prototype);
console.log(keys)
var person = new Person()
//person = {
//    name:'moyu',
//    age:23,
//    gender:'female'
//}
Object.defineProperty(Person.prototype,'constructro',{
    enumerable:false,
    value:Person
})
var p1keys = Object.keys(person)
console.log(p1keys)
console.log(person instanceof Person)
console.log(person instanceof Object)
console.log(person.constructor == Person)
console.log(person.constructor == Object)
console.log(Person.prototype)
console.log(person.sayName())
